import { NextResponse } from 'next/server';

/**
 * @author        lx <1154354121@qq.com>
 * @date          2025-04-16 14:02:58
 * Copyright © YourCompanyName All rights reserved
 */
export async function GET() {
  return new Promise((resolve) => {
    setTimeout(() => {
      resolve(
        NextResponse.json([
          { id: 1, name: 'John Doe' },
          { id: 2, name: 'Jane Smith' },
          { id: 3, name: 'Bob Johnson' },
          { id: 4, name: 'Alice Williams' },
          { id: 5, name: 'Charlie Brown' },
        ])
      );
    }, 5000);
  });
}
